<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>gui2py: Fichero Fuente setup.py</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../edit.gif"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gui2py
   &#160;<span id="projectnumber">0.9.3</span>
   </div>
   <div id="projectbrief">Interfaz de desarrollo de aplicaciones graficas</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generado por Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="../../namespaces.html"><span>Paquetes</span></a></li>
      <li><a href="../../annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="../../files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('da/dab/setup_8py_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Propiedades</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">setup.py</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../da/dab/setup_8py.html">Ir a la documentación de este archivo.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html">    1</a></span>&#160;<span class="comment">#!/usr/bin/env python</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"># By R.Suzi rnd@onego.ru</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"># Extended and expanded by Andy Todd &lt;andy47@halfcooked.com&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"># Simplified &amp; adapted for gui2py by Mariano Reingart &lt;reingart@gmail.com&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="stringliteral">&quot;&quot;&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="stringliteral">This script is setup.py of the gui2py package.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="stringliteral"></span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="stringliteral">You need to have wxPython to run gui2py</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="stringliteral">&quot;&quot;&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#aa05ac28fc98537db20951c6f640f18fc">   12</a></span>&#160;WIN_DEFAULT_COMMAND = <span class="stringliteral">&quot;install&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#ace50e0edc530955a3e84aac641b4f5d7">   13</a></span>&#160;APPLICATION_NAME = <span class="stringliteral">&quot;gui2py&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">from</span> distutils.core <span class="keyword">import</span> setup</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">import</span> os, sys</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"># get the package version (add py3k if needed)</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">import</span> gui</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#a2aa722b36a933088812b50ea79b97a5c">   20</a></span>&#160;version = gui.__version__</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keywordflow">if</span> sys.version_info &gt; (3, ):</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    version += <span class="stringliteral">&quot;-py3k&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    version += <span class="stringliteral">&quot;-py2x&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"># append install on windows</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keywordflow">if</span> len(sys.argv) == 1 <span class="keywordflow">and</span> sys.platform.startswith(<span class="stringliteral">&quot;win&quot;</span>):</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    sys.argv.append(WIN_DEFAULT_COMMAND)</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<a class="code" href="../../dd/dc4/namespacesetup.html">setup</a>(name=APPLICATION_NAME, </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;      version=version,</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#ade8aa54df2083113a10326ea2fe7934b">   32</a></span>&#160;      description=<span class="stringliteral">&quot;gui2py framework&quot;</span>,</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#ac83393287a89728d636e4ae9f4ac914f">   33</a></span>&#160;      author=<span class="stringliteral">&quot;Mariano Reingart&quot;</span>,</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#aa144ac52ed417d5c65d7377e0e75673e">   34</a></span>&#160;      author_email=<span class="stringliteral">&quot;reingart@gmail.com&quot;</span>,</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#a3376e8b9735800b5b9e455914cee908d">   35</a></span>&#160;      url=<span class="stringliteral">&#39;http://code.google.com/p/gui2py&#39;</span>,</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#ace7471dbb37081610d405f437793b251">   36</a></span>&#160;      download_url=<span class="stringliteral">&quot;http://gui2py.googlecode.com/files/gui2py-%s.zip&quot;</span> % gui.__version__,</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#a2d96dddd66b7833bbb2db38dbbe55a02">   37</a></span>&#160;      classifiers = [</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <span class="stringliteral">&quot;Development Status :: 3 - Alpha&quot;</span>,</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <span class="stringliteral">&quot;Environment :: MacOS X&quot;</span>,</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <span class="stringliteral">&quot;Environment :: MacOS X :: Carbon&quot;</span>,</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="stringliteral">&quot;Environment :: MacOS X :: Cocoa&quot;</span>,</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <span class="stringliteral">&quot;Environment :: Win32 (MS Windows)&quot;</span>,</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <span class="stringliteral">&quot;Environment :: X11 Applications :: GTK&quot;</span>,</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="comment">#&quot;Framework :: web2py&quot;,</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <span class="stringliteral">&quot;Intended Audience :: Developers&quot;</span>,</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="stringliteral">&quot;Intended Audience :: Education&quot;</span>,</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="stringliteral">&quot;Intended Audience :: End Users/Desktop&quot;</span>,</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="stringliteral">&quot;Intended Audience :: Information Technology&quot;</span>,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="stringliteral">&quot;Intended Audience :: Other Audience&quot;</span>,</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <span class="stringliteral">&quot;Intended Audience :: Science/Research&quot;</span>,</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="stringliteral">&quot;Intended Audience :: System Administrators&quot;</span>,</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="stringliteral">&quot;License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)&quot;</span>,</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <span class="stringliteral">&quot;Natural Language :: English&quot;</span>,</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="stringliteral">&quot;Operating System :: MacOS :: MacOS X&quot;</span>,</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="stringliteral">&quot;Operating System :: Microsoft :: Windows&quot;</span>,</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="stringliteral">&quot;Operating System :: POSIX :: Linux&quot;</span>,</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python&quot;</span>,</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python :: 2&quot;</span>,</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python :: 2.5&quot;</span>,</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python :: 2.6&quot;</span>,</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python :: 2.7&quot;</span>,</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python :: 3&quot;</span>,</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python :: 3.1&quot;</span>,</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python :: 3.2&quot;</span>,</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="stringliteral">&quot;Programming Language :: Python :: 3.3&quot;</span>,</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="stringliteral">&quot;Topic :: Software Development&quot;</span>,</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="stringliteral">&quot;Topic :: Software Development :: User Interfaces&quot;</span>,</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;      ],</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#a4cda9dbfb952875376a0749fe08a5bde">   69</a></span>&#160;      long_description = \</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;            <span class="stringliteral">&quot;gui2py is a GUI framework for building cross-platform &quot;</span> \</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;            <span class="stringliteral">&quot;\&quot;visual\&quot; desktop applications on Windows, Mac OS X, and Linux,&quot;</span> \</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;            <span class="stringliteral">&quot; using the Python language and the wxPython toolkit.&quot;</span>,</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#ac00ff69c120d4d7baac8baa75c854cb1">   73</a></span>&#160;      platforms = <span class="stringliteral">&quot;Mac OS X, Windows, Linux&quot;</span>,</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#aada4406eeab94f62c5f72fee617f0b82">   74</a></span>&#160;      packages=[<span class="stringliteral">&#39;gui&#39;</span>, <span class="stringliteral">&#39;gui.tools&#39;</span>, <span class="stringliteral">&#39;gui.controls&#39;</span>, <span class="stringliteral">&#39;gui.windows&#39;</span>, <span class="stringliteral">&#39;gui.html&#39;</span>],</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;      <span class="comment">#package_dir={&#39;gui&#39;: &#39;gui&#39;, &#39;gui.tools&#39;: &#39;gui/tools&#39;},</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;      <span class="comment">#scripts=[&quot;install-pythoncard.py&quot;],</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../dd/dc4/namespacesetup.html#aae5aa7c9d1cf462778a54e8f6a874c6f">   77</a></span>&#160;      license=<span class="stringliteral">&quot;LGPLv3&quot;</span>,</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;     )</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment"># End of setup.py</span></div>
<div class="ttc" id="namespacesetup_html"><div class="ttname"><a href="../../dd/dc4/namespacesetup.html">setup</a></div><div class="ttdef"><b>Definition:</b> <a href="../../da/dab/setup_8py_source.html#l00001">setup.py:1</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../da/dab/setup_8py.html">setup.py</a></li>
    <li class="footer">Generado el Domingo, 7 de Diciembre de 2014 18:59:47 para gui2py por
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
